package cn.pzaily.fealetter.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @PackageName: cn.pzaily.fealatter.entity
 * @Description:
 * @Author: Pang
 * @Date: 2021-11-18 12:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode
@ApiModel(description = "日志表")
@TableName("send_log")
public class SendLogEntity {

    @ApiModelProperty(value = "配置主键")
    private String configId;

    @ApiModelProperty(value = "配置平台")
    private String configPlatform;

    @ApiModelProperty(value = "配置名称")
    private String configName;

    @ApiModelProperty(value = "模板")
    private String template;

    @ApiModelProperty(value = "签名")
    private String signature;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "请求参数")
    private String request;

    @ApiModelProperty(value = "返回参数")
    private String response;

    @ApiModelProperty(value = "错误信息")
    private String error;

    @ApiModelProperty(value = "耗时")
    private int useTime;

    @ApiModelProperty(value = "状态：0失败，1成功")
    private int status;

    @ApiModelProperty(value = "api日志主键")
    private String apiLogId;
}
